package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 餐馆评论图片对象 res_review_img
 * 
 * @author ruoyi
 * @date 2025-05-30
 */
public class ResReviewImg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图片id */
    private Long imgId;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String imgUrl;

    /** 评论id */
    @Excel(name = "评论id")
    private Long reviewId;

    /** 备用字段 */
    @Excel(name = "备用字段")
    private String field;

    public void setImgId(Long imgId) 
    {
        this.imgId = imgId;
    }

    public Long getImgId() 
    {
        return imgId;
    }

    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }

    public void setReviewId(Long reviewId) 
    {
        this.reviewId = reviewId;
    }

    public Long getReviewId() 
    {
        return reviewId;
    }

    public void setField(String field) 
    {
        this.field = field;
    }

    public String getField() 
    {
        return field;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("imgId", getImgId())
            .append("imgUrl", getImgUrl())
            .append("reviewId", getReviewId())
            .append("field", getField())
            .toString();
    }
}
